package com.yu1996.recruit.dao;

import com.yu1996.recruit.pojo.Enterprise;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 数据访问接口
 *
 * @author Administrator
 */
public interface EnterpriseDao extends JpaRepository<Enterprise, String>, JpaSpecificationExecutor<Enterprise> {

    /**
     * @param isHot
     * @return java.util.List<Enterprise>
     * @description 查询热门的企业
     * @date 2019/10/11 18:28
     */
    List<Enterprise> findByIshot(String isHot);
}
